package com.hjm.project.TransactionAccumulation.zlCashDetails.domain;

import com.hjm.framework.web.domain.BaseEntity;
import com.hjm.framework.aspectj.lang.annotation.Excel;
import lombok.Data;
import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;

/**
 * 增量返现明细对象 zl_cash_details
 * 
 * @author maker-platform
 * @date 2021-07-07
 */
@Data
public class ZlCashDetails extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** pk_id */
    private Integer id;

    /** 代理编号 */
    @Excel(name = "代理编号")
    private String agentNum;

    /** 代理商名称 */
    @Excel(name = "代理商名称")
    private String agentName;

    /** 团长编号 */
    @Excel(name = "团长编号")
    private String parentYlId;

    /** 团长名称 */
    @Excel(name = "团长名称")
    private String parentYlName;

    /** 1 团长 2 资深总监 */
    @Excel(name = "类型",readConverterExp = "1=团长,2=资深总监")
    private Integer type;

    /** 引流编号 type为1团长才有这个 */
    private String ylId;

    /** 同比增量累积了几个档次 */
    @Excel(name = "档次数量")
    private String num;

    /** 档次金额 */
    @Excel(name = "档次金额")
    private String standard;

    /** 奖励比例 */
    @Excel(name = "奖励比例")
    private String award;

    /** 税点 */
    @Excel(name = "税点")
    private String tax;

    /** 税额 */
    @Excel(name = "税额")
    private String taxMoney;

    /** 返现金额 */
    @Excel(name = "返现金额")
    private String returnMoney;

    /** 税后返现金额 */
    @Excel(name = "税后返现金额")
    private String returnTaxMoney;

    /** 返现日期 */
    @Excel(name = "返现日期")
    private String returnDate;

    /** 0日返  1月返 */
    @Excel(name = "返现类型",readConverterExp = "1=月返,0=日返")
    private String cycle;

    /** 出款流水号 */
    @Excel(name = "出款流水号")
    private String settleSerial;

    /** 同比增量累积了几个档次 * 档次金额 */
    @Excel(name = "档次*金额")
    private String leiMoney;


    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("agentNum", getAgentNum())
            .append("agentName", getAgentName())
            .append("type", getType())
            .append("ylId", getYlId())
            .append("num", getNum())
            .append("standard", getStandard())
            .append("award", getAward())
            .append("tax", getTax())
            .append("taxMoney", getTaxMoney())
            .append("returnMoney", getReturnMoney())
            .append("returnTaxMoney", getReturnTaxMoney())
            .append("returnDate", getReturnDate())
            .append("cycle", getCycle())
            .append("settleSerial", getSettleSerial())
            .append("leiMoney", getLeiMoney())
            .toString();
    }
}
